package com.reachol.objects; 

import java.sql.Timestamp; 
import com.jimet.objects.JimetObject; 
import com.reachol.objects.db.*;

public class Sukru extends JimetObject 
{

	private long id; 
	private String dene; 
	private Timestamp tsUpdate; 
	private int deleted; 

	public Sukru(long id) throws Exception 
 { 
		 this(); 
		 if( id != -1 ) 
			 this.load(id); 
 } 
	public Sukru(boolean noInit){} 

	public Sukru() throws Exception 
	{
		this.id=-1;
		this.dene="";
		this.tsUpdate = null;
		this.deleted = 0;
		setDb(SukruDB.class); 
	}


	public void setId(long id) {
		 this.id=id; 
	}
	public long getId() {
		 return id; 
	}
	public void setDene(String dene) {
		 this.dene=dene; 
	}
	public String getDene() {
		 return dene; 
	}
	public Timestamp getTsUpdate() {
		 return tsUpdate;
	}
	public void setTsUpdate(Timestamp tsUpdate) {
		 this.tsUpdate = tsUpdate;
	}
	public int getDeleted() {
		 return deleted;
	}
	public void setDeleted(int deleted) {
		 this.deleted = deleted;
	}
}

